GdkGLContext: Add display property
authorAlexander Larsson <alexl@redhat.com>
Mon, 3 Nov 2014 12:20:55 +0000 (13:20 +0100)
committerAlexander Larsson <alexl@redhat.com>
Mon, 3 Nov 2014 12:20:55 +0000 (13:20 +0100)
commit6fbc439fd79949fac2733107972785cef285ea71
treec701b50f255a698c2260a887c88f4339ab349e8f
parent3656c21030eb26c2556dcaaf972903575c9de0ae
GdkGLContext: Add display property

We need to use this in the code path where we make the context
non-current during destroy, because at that point the window
could be destroyed and gdk_window_get_display() would return
NULL.
gdk/gdkglcontext.c
gdk/gdkglcontext.h
gdk/wayland/gdkglcontext-wayland.c
gdk/x11/gdkglcontext-x11.c